<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/static/include/taglib.jsp"%>
<!DOCTYPE html >
<html>
<head>
 <meta name="viewport" content="width=device-width" />
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
 <title>后台管理--机构列表</title>
 <link href="${ctxStatic}/ligeruilib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css">
 <link href="${ctxStatic}/layui/css/layui.css" rel="stylesheet" />
 <link href="${ctxStatic}/css/kpiui.css" rel="stylesheet" />
 <script src="${ctxStatic}/js/jquery-1.8.3.min.js?v=2.0" type="text/javascript"></script>
 <script src="${ctxStatic}/layui/layui.all.js"  type="text/javascript"></script>
   <script src="${ctxStatic}/ligeruilib/ligerUI/js/core/base.js" type="text/javascript"></script>
 <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
 <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerTree.js" type="text/javascript"></script>
  <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
 <script src="${ctxStatic}/js/common.js" type="text/javascript"></script>
  <script src="${ctxStatic}/js/pingyou/ndkhpshz.js?v=<%=System.currentTimeMillis()%>" type="text/javascript"></script>

 
 <style>
  .l-text-field {height:30px}
 .layui-badge-dot{position: absolute;font-size: 8px;width:13px;height:13px;left:20px}
 .number-text{position: absolute;color:#ffffff;font-size:8px;left:23px;display: inline-block;top:-5px}

 </style>
  <script>
var ctxStatic="${ctxStatic}";
var ctx="${ctx}";
</script>
</head>
<body>

 <div class="currentnav"><span class="tiao"></span><span class="navtitle">部门年度考核结果汇总</span></div>
 
 <div class="tabregion">
    <div  class="layui-form">
 <div class="serchcontent">

	<div class="search">
	 <table>
  <tr>
   <td>年份：</td>
   <td style="width:100px">
    <select id="year" lay-filter="year">
     <option value="2022">2022</option>
     <option value="2021">2021</option>
     <option value="2020">2020</option>
     <option value="2019">2019</option>
     <option value="2018">2018</option>
     <option value="2017">2017</option>
    </select>
   </td>
   <td style="width:70px;text-align:right">所属机构：</td>
  <td style="width:200px;">
              <input type="text" id="orgid"   class="layui-input">
  </td>
  <td>考核结果：</td>
  <td style="width:100px">
    <select id="khjg" lay-filter="khjg" >
     <option value="">所有</option>
     <option value="合格">合格</option>
     <option value="好">好</option>
     <option value="差">差</option>
     <option value="不定结果">不定结果</option>
    </select>
  </td>
     <td>姓名：</td>
   <td style="width:120px"><input type="text" style="width:120px" class="text" id="realname"/></td>
   <td>
    <input type="button" class="button" value="查询" onclick="vNdkhpshz.InitPage()" />
    <button class="button" onclick="vNdkhpshz.exportentity()">导出打印</button>
   </td>
  </tr>
 </table>
	</div>
 </div>
 </div>
 
 
 <div class="layui-tab layui-tab-brief" lay-filter="tabcontent" style="margin-top:0">
  <ul class="layui-tab-title">
    <li lay-id="0"  class="layui-this">机构汇总</li>
    <li lay-id="1" >评定列表</li>
  </ul>
  
   <div class="layui-tab-content" style="height: 100px;">
    <div class="layui-tab-item layui-show">
      <div id="listorg"></div>
    </div>
    <div class="layui-tab-item">
      <div class="content">
       <table class="layui-table" lay-data="" lay-filter="uatmzpdsummary">
              <thead>
                <tr>
                  <th lay-data="{field:'realname', width:100,align:'center',fixed: 'left',templet: '#realnameTpl',event:'glxs'}" rowspan="2">姓名</th>
                  <th lay-data="{field:'cardno', width:180,align:'center',event:'glxs'}" rowspan="2">身份证号</th>
                  <th lay-data="{field:'orgname', width:200,align:'center',event:'glxs'}" rowspan="2">实际工作单位</th>
                  <th lay-data="{align:'center'}" colspan="2">第一季度</th>
                  <th lay-data="{align:'center'}" colspan="2">第二季度</th>
                  <th lay-data="{align:'center'}" colspan="2">第三季度</th>
                  <th lay-data="{align:'center'}" colspan="2">第四季度</th>
                  <th lay-data="{field:'remark', width: 130, align: 'center'}" rowspan="2">说明</th>
                  <th lay-data="{field:'ndkhpsjg', width: 100, align: 'center',templet:'#kpjgTpl'}" rowspan="2">${year}年考评结果</th>
                  
                </tr>
                <tr>
                  <th lay-data="{field:'yzzpdjg', width:100,align:'center',style:'color: #FCFF04;'}">组织评定</th>
                  <th lay-data="{field:'yszdwname', width:100,align:'center',style:'color: #FCFF04;'}">所属部门</th>
                  
                  <th lay-data="{field:'ezzpdjg', width:100,align:'center',style:'color: #FCFF04;'}">组织评定</th>
                  <th lay-data="{field:'eszdwname', width:100,align:'center',style:'color: #FCFF04;'}">所属部门</th>
                  
                  <th lay-data="{field:'szzpdjg', width:100,align:'center',style:'color: #FCFF04;'}">组织评定</th>
                  <th lay-data="{field:'sszdwname', width:100,align:'center',style:'color: #FCFF04;'}">所属部门</th>
                  
                  <th lay-data="{field:'sizzpdjg', width:100,align:'center',style:'color: #FCFF04;'}">组织评定</th>
                  <th lay-data="{field:'siszdwname', width:100,align:'center',style:'color: #FCFF04;'}">所属部门</th>
                </tr>
              </thead>
            </table>
            
      <script type="text/html" id="operate">
{{#  if(d.status == 0){ }}
        <img class="btn-img" src="${ctxStatic}/images/index/btn_edit.png" lay-event="edit" alt="调整" title="调整">
{{#  } }}
      </script>
      
      <script type="text/html" id="kpjgTpl">
        {{#  if(d.ndkhpsjg == '合格'){ }}
             <span style="color: yellow;">合格</span>
        {{#  } }}

        {{#  if(d.ndkhpsjg == '好'){ }}
             <span style="color: red;">好</span>
        {{#  } }}

        {{#  if(d.ndkhpsjg == '差'){ }}
             <span style="color: blue;">差</span>
        {{#  } }}

        {{#  if(d.ndkhpsjg == '不定结果'){ }}
             <span style="color: yellow;">不定结果</span>
        {{#  } }}
     </script>

      </div>
    </div>
   </div>
  
</div>
 
 
  
 </div>

 <input type="hidden" id="hidyear" value="${year }">
   <input type="hidden" id="hidorgid" value="">
   
    <script>
$("#getdatadiv").height($(window).height()-80);
</script>

</body>
</html>